package com.shop.beans;

public class Manager {
    private int id;
    private String managername;
    private String managerpassword;
    private int role;


    public Manager() {
    }

    public Manager(int id, String managername, String managerpassword, int role) {
        this.id = id;
        this.managername = managername;
        this.managerpassword = managerpassword;
        this.role = role;
    }

    public Manager(String managername, String managerpassword, int role) {
        this.managername = managername;
        this.managerpassword = managerpassword;
        this.role = role;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "id=" + id +
                ", managername='" + managername + '\'' +
                ", managerpassword='" + managerpassword + '\'' +
                ", role=" + role +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getManagername() {
        return managername;
    }

    public void setManagername(String managername) {
        this.managername = managername;
    }

    public String getManagerpassword() {
        return managerpassword;
    }

    public void setManagerpassword(String managerpassword) {
        this.managerpassword = managerpassword;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }
}
